/**
 * 
 */
package com.youxin.cpcenter.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.youxin.busfoundation.bean.ResponseObject;
import com.youxin.cpcenter.bean.RequestTryoutList;
import com.youxin.cpcenter.dao.TbEntTryoutInfoMapper;
import com.youxin.cpcenter.model.TbEntTryoutInfo;
import com.youxin.cpcenter.service.TryoutService;

/**
 * @author yingde.cao
 * @date 2017年12月18日
 * @version 1.0
 */
@Service("tryoutService")
public class TryoutServiceImpl extends BaseServiceImpl implements TryoutService {
	@Autowired
	private TbEntTryoutInfoMapper tbEntTryoutInfoMapper;
	public ResponseObject list(RequestTryoutList bean) {
		List<TbEntTryoutInfo> list = tbEntTryoutInfoMapper.select(bean);		
		bean.setResults(list);
		return ResponseObject.successObject(bean);
	}
}
